package com.woniu.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RestController;

import com.woniu.main.util.Examine;




@SpringBootApplication
@EnableEurekaClient
//@EnableDiscoveryClient
@RestController
@MapperScan("com.woniu.main.*.mapper")
//@EnableFeignClients
public class App {

	 public static void main(String[] args) {
		 
		//启动自动审核
		 	Examine.getClient();
		 
	        SpringApplication.run( App.class, args );
	    }
}